<div class="pageContent">
  <form method="post" action="__URL__/insert/navTabId/__MODULE__/callbackType/closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxMenu)">
    <div class="pageFormContent" layoutH="58">
      <div class="unit">
        <label>上级菜单：</label>
        <select name="pid" class="combox">
          <option value="0">顶级菜单</option>
          <volist id="v" name="top_menus">
            <option value="{$v['id']}">{$v['title']}</option>
          </volist>
        </select>
      </div>
      <div class="unit">
        <label>菜单名称：</label>
        <input type="text" class="required"  name="title" value="" />
      </div>
      
      <div class="unit">
        <label>Controller：</label>
        <select name="controller" class="combox" ref="refaction" refurl="{:u('menus/get_action_by_controllername?controllername=')}{value}">
          <option value="">顶级菜单</option>
          <volist id="v" name="controllers">
            <option value="{$v['name']}">{$v['name']}({$v['title']})</option>
          </volist>
        </select>
      </div>
      <div class="unit">
        <label>Action：</label>
        <select class="combox" name="action" id="refaction">
        	<option value="index">默认节点(index)</option>
        </select>
      </div>
      <div class="unit">
        <label>打开方式：</label>
        <select name="target" class="combox">
          <option value="navTab">正常页面</option>
          <option value="dialog">弹窗</option>
        </select>
      </div>
    </div>
    <div class="formBar">
      <ul>
        <li>
          <div class="buttonActive">
            <div class="buttonContent">
              <button type="submit">提交</button>
            </div>
          </div>
        </li>
        <li>
          <div class="button">
            <div class="buttonContent">
              <button type="button" class="close">取消</button>
            </div>
          </div>
        </li>
      </ul>
    </div>
  </form>
</div>
